import Vue from 'vue'
import App from './App.vue'
import router from './router'
import baiduMap from 'vue-baidu-map'
// import '@/utils/vant'
import {
  Search,
  Tabbar,
  TabbarItem,
  Image as VanImage,
  Button,
  Grid,
  GridItem,
  NavBar,
  Form,
  Field,
  Toast,
  Dialog,
  Swipe,
  SwipeItem,
  Col,
  Row,
  DropdownMenu,
  DropdownItem,
  Picker,
  List,
  Cell,
  Sticky,
  Icon,
  CellGroup,
  Popup,
  IndexBar,
  IndexAnchor,
  Uploader,
  Divider,
  Area
} from 'vant'

Vue.use(baiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: ''
})
Vue.use(Area)
Vue.use(Divider)
Vue.use(Uploader)
Vue.use(IndexBar)
Vue.use(IndexAnchor)
Vue.use(Popup)
Vue.use(CellGroup)
Vue.use(Icon)
Vue.use(Sticky)
Vue.use(List)
Vue.use(Cell)
Vue.use(Search)
Vue.use(Picker)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Col)
Vue.use(Row)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Dialog)
Vue.use(Toast)
Vue.use(Form)
Vue.use(Field)
Vue.use(NavBar)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Button)
Vue.use(VanImage)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.config.productionTip = false

new Vue({
  router,
  render: (h) => h(App)
}).$mount('#app')
